package com.zp.drug.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zp.common.myBatis.core.mapper.BaseMapperPlus;
import com.zp.drug.entity.DrugPresPermissionsConf;
import com.zp.drug.entity.bo.DrugPresPermissionsConfBo;
import com.zp.drug.entity.vo.DrugPresPermissionsConfVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 处方权限配置Mapper接口
 *
 * @author zhang peng
 * @ date 2023-06-19
 */
@Repository
public interface DrugPresPermissionsConfMapper extends BaseMapperPlus<DrugPresPermissionsConfMapper, DrugPresPermissionsConf, DrugPresPermissionsConfVo> {

    Page<DrugPresPermissionsConfVo> selectVoList (@Param("page") Page<DrugPresPermissionsConfBo> page, @Param("bo") DrugPresPermissionsConfBo bo);

    /**
     * 通过id获取数据
     *
     * @param bo
     * @return
     */
    DrugPresPermissionsConfVo selectVoList (@Param("bo") DrugPresPermissionsConfBo bo);

}
